
<p>
</p>
<div class="comment-show">
  <p>
    <strong>username:</strong> <br>
    <%= comment.username %>
  </p>
  <p>
    <strong>Comment:</strong> <br>
    <%= comment.body %>
  </p>
  <p>
    <% if current_user %>
      <% if current_user.id === comment.user_id %>
        <%= link_to '删除', [comment.article, comment],
                    method: :delete,
                    data: { confirm: 'Are you sure?' }%>
      <% end %>
    <% end %>
  </p>
</div>
